package com.lwk.springbootshiro.dao;

import com.lwk.springbootshiro.entity.UserInfo;
import org.springframework.data.repository.CrudRepository;

/**
 * @author: leiwenkang02@meituan.com
 * @date: 2018/4/13
 * @time: 19:43
 */
public interface UserInfoDao extends CrudRepository<UserInfo,Long> {
    /**通过username查找用户信息;*/
    public UserInfo findByUsername(String username);
}
